#declare LightWood = color red 0.91 green 0.76 blue 0.65
#declare MediumWood = color red 0.65 green 0.50 blue 0.39
#declare DarkWood = color red 0.52 green 0.37 blue 0.26

#declare laton=
texture
{
 pigment
 {
  bozo
  turbulence .4
  color_map
  {
   [0 rgb <.95,.8,0>]
   [.5 rgb <1,.85,0>]
   [.75 rgb <.95,.8,0>]
   [1 rgb <.95,.8,0>]
  }
  scale 7.5
 }
 finish {specular 1 roughness .005 brilliance 10 metallic diffuse 1}
 normal {bozo scale 1.5 bump_size -.1}
}

#declare cobre=
texture
{
 pigment
 {
  bozo
  turbulence .4
  color_map
  {
   [0 rgb <.95,.8,0>]
   [.5 rgb <1,.85,0>]
   [.75 rgb <.95,.8,0>]
   [1 rgb <.95,.8,0>]
  }
  scale 7.5
 }
 finish {specular 1 roughness .005 brilliance 10 metallic}
 normal {bozo scale 1.5 bump_size -.1}
}

#declare metal=
texture
{
 pigment
 {
  bozo
  turbulence .4
  color_map
  {
   [0 rgb 1.25]
   [.5 rgb 1.1]
   [.75 rgb 1.25]
   [1 rgb 1.25]
  }
  scale 7.5
  scale <10,1,1>
 }
 finish {specular 1 roughness .005 brilliance 10 metallic}
 normal {bozo scale 1.5 bump_size -.1}
}

#declare metal_oxidado=
texture
{
 pigment
 {
  bozo
  turbulence .4
  color_map
  {
   [0 rgb 1.25]
   [.5 rgb .95]
   [.62 rgb .95]
   [.65 rgb <1.25,.5,0>]
   [.651 rgb <1.25,.5,0>]
   [.67 rgb 1.25]
   [.75 rgb 1.25]
   [1 rgb 1.25]
  }
  scale 7.5
  scale <60,1,1>
 }
 finish {specular 1 roughness .005 brilliance 10 metallic}
 normal {bozo scale 1.5 bump_size -.1}
 rotate z*90
}

#declare madera=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  LightWood]
   [.1  LightWood]
   [.15  MediumWood]
   [.2  LightWood]
   [.3  DarkWood]
   [.3  MediumWood]
   [.5  LightWood]
   [.65  MediumWood]
   [.75  DarkWood]
   [.9  MediumWood]
   [1  LightWood]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_roja=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  red .8]
   [.1  red .8]
   [.15  red .9]
   [.2  red .8]
   [.3  red 1]
   [.3  red .9]
   [.5  red .8]
   [.65  red .9]
   [.75  red 1]
   [.9  red .9]
   [1  red .8]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_amarilla2=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  red .8 green .8]
   [.1 red .8 green .8]
   [.15 red .9 green .9]
   [.2 red .8 green .8]
   [.3 red 1 green 1]
   [.3 red .9 green .9]
   [.5 red .8 green .8]
   [.65 red .9 green .9]
   [.75 red 1 green 1]
   [.9 red .9 green .9]
   [1 red .8 green .8]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_blanca=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  rgb .8]
   [.1  rgb .8]
   [.15  rgb .9]
   [.2  rgb .8]
   [.3  rgb 1]
   [.3  rgb .9]
   [.5  rgb .8]
   [.65  rgb .9]
   [.75  rgb 1]
   [.9  rgb .9]
   [1  rgb .8]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_negra=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  rgb .1]
   [.1  rgb .1]
   [.15  rgb .2]
   [.2  rgb .1]
   [.3  rgb .3]
   [.3  rgb .2]
   [.5  rgb .1]
   [.65  rgb .2]
   [.75  rgb .3]
   [.9  rgb .2]
   [1  rgb .1]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_azul=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  blue .8]
   [.1  blue .8]
   [.15  blue .9]
   [.2  blue .8]
   [.3  blue 1]
   [.3  blue .9]
   [.5  blue .8]
   [.65  blue .9]
   [.75  blue 1]
   [.9  blue .9]
   [1  blue .8]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare madera_amarilla=
texture
{
 pigment
 {
  wood
  color_map
  {
   [0  rgb <.78,.78,.1>]
   [.1  rgb <.46,.46,.1>]
   [.15  rgb <.77,.77,.1>]
   [.2  rgb <.78,.78,.1>]
   [.3  rgb <.77,.77,.1>]
   [.3  rgb <.79,.79,.1>]
   [.5  rgb <.74,.74,.1>]
   [.65  rgb <.75,.75,.1>]
   [.75  rgb <.7,.77,.1>]
   [.9  rgb <.79,.79,.1>]
   [1  rgb <.78,.78,.1>]
  }
  scale .2
  scale <20,1,1>
 }
}

#declare turbulencia= .3
#declare arrugas= .1

#declare madera2=
texture
{
 pigment
 {
   LightWood
 }
 normal
 {
  wood
  turbulence turbulencia
  scale <20,1,1>
  bump_size arrugas
 }
}

#declare madera3=
texture
{
 pigment
 {
   rgb .9 //LightWood *.75
 }
 normal
 {
  wood
  turbulence turbulencia
  scale <20,1,1>
  bump_size arrugas
 }
}

#declare madera1=
texture
{
 pigment
 {
   LightWood *.5
 }
 normal
 {
  wood
  turbulence turbulencia
  scale <20,1,1>
  bump_size arrugas
 }
}

#declare cuerda=
texture
{
 pigment {MediumWood}
}

#declare tela=
texture 
{
 pigment 
 {
  bozo
  turbulence 1
  color_map
  {
   [0 rgb 1]
   [.4 rgb 1]
   [.5 rgb .99]
   [.6 rgb 1]
   [1 rgb 1]
  }
  scale 40
 }
}
